package A.q.day04;

public class hw {
    public static void main(String[] args) {
        /*
        for(int times=1;times<11;times++){
            System.out.println("彳亍");
        }
        for(int qq=1;qq<=10;qq++){
            System.out.println(qq+"*10="+qq*10);
        }
        for(int qq=1;qq<=10;qq+=2){
            System.out.println(qq+"*10="+qq*10);
        }
        for(int qq=20;qq>=1;qq--){
            System.out.println(qq+"*10="+qq*10);
        }


*/




          /*
        for(int times=0;times<5;times++){
            System.out.println("行动是成功的阶梯");
        }
        System.out.println("继续执行...");

        for(int num=1;num<=9;num++){
            System.out.println(num+"*9="+num*9);
        }
        for(int num=1;num<=9;num+=2){
            System.out.println(num+"*9="+num*9);
        }
        for(int num=9;num>=1;num--){
            System.out.println(num+"*9="+num*9);
        }


           */














//33333333333333333333333333333333



        /*
        Scanner scan=new Scanner(System.in);
        int num=(int) (Math.random()*3333+1);

        int guess;
        do {
            System.out.println("猜吧");
            guess = scan.nextInt();
            if (guess > num) {
                System.out.println("太大了");
            } else if (guess < num) {
                System.out.println("太小了");
            } else {
                System.out.println("恭喜你猜对了");
            }
        }while (guess!=num);
*/

       /*
       Scanner scan = new Scanner(System.in);
        int num = (int)(Math.random()*1000+1);

        int guess;
        do{
            System.out.println("猜吧!");
            guess = scan.nextInt();
            if(guess>num){
                System.out.println("太大了");
            }else if(guess<num){
                System.out.println("太小了");
            }else{
                System.out.println("恭喜你猜对了");
            }
        }while(guess!=num);


        */











//222222222222222222222222222222







        /*
        Scanner scan=new Scanner(System.in);
        int num=(int)(Math.random()*1000+1);


        System.out.println("来♂");
        int guess=scan.nextInt();
        while (guess!=num){
            if(guess>num){
                System.out.println("太大辣");
            }else{
                System.out.println("太小了");
            }
            System.out.println("来♂");
            guess=scan.nextInt();
        }
        System.out.println("啊对对对");
*/
       /*
       Scanner scan = new Scanner(System.in);
        int num = (int)(Math.random()*1000+1); //1到1000之内
        System.out.println(num); //作弊

        //300(大),200(小),250(对)
        System.out.println("猜吧!");
        int guess = scan.nextInt(); //1.
        while(guess!=num){ //2.
            if(guess>num){
                System.out.println("太大了");
            }else{
                System.out.println("太小了");
            }
            System.out.println("猜吧!");
            guess = scan.nextInt(); //3.
        }
        System.out.println("恭喜你猜对了!");
*/






//1111111111111111111111111111





        /*
        Scanner scan=new Scanner(System.in);
        System.out.println("请选择x法：1.吊起来 2.py滴蜡 3.塞口球 0.寄");
        int q=scan.nextInt();
        switch (q){
            case 1:
                System.out.println("吊起来打");
                break;
            case 2:
                System.out.println("坐木马PY滴蜡");
                break;
            case 3:
                System.out.println("绑起来塞口球");
                break;
            case 0:
                System.out.println("您已寄");
                break;
            default:
                System.out.println("FQ");

        }
*/






        /*
        Scanner scan=new Scanner(System.in);
        System.out.println("请选择功能：1.取款 2.存款 3.查询余额 0.退卡");
        int command= scan.nextInt();

        switch (command){
            case 1:
                System.out.println("取款操作");
                break;
            case 2:
                System.out.println("存款操作");
                break;
            case 3:
                System.out.println("查询余额操作...");
                break;
            case 0:
                System.out.println("退出成功");
                break;
            default:
                System.out.println("输入错误");
        }

         */
    }
}
